package com.ecnu.jiagou.damai.mapper;

import java.util.List;
import java.util.Map;

import com.ecnu.jiagou.damai.entity.City;
import com.ecnu.jiagou.damai.entity.Performance;
import com.ecnu.jiagou.damai.entity.Session;
import com.ecnu.jiagou.damai.entity.Show;
import com.ecnu.jiagou.damai.entity.Ticket;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ShowMapper {

    List<Show> getShowByTop(String city);

    List<Show> getShowByType(Map<String, Object> map);

    Show getShowById(Long id);

    List<Session> getSessions(Long id);

    List<Ticket> getTickets(long id);

    List<City> getCitys(String title);

    List<Performance> getShows();

    List<Performance> queryShows(Map<String, Object> map);

    List<Show> getShowLike(int offset);

    Performance getDetail(int ticketid);

    Integer getCount();

}
